crypto/tls.clientHelloMsg.keyShares (field)
12 uses
crypto/tls (current package)
handshake_client.go#L156: hello.keyShares = []keyShare{{group: curveID, data: key.PublicKey().Bytes()}}
handshake_client_tls13.go#L56: if hs.ecdheKey == nil || len(hs.hello.keyShares) != 1 {
handshake_client_tls13.go#L249: hs.hello.keyShares = []keyShare{{group: curveID, data: key.PublicKey().Bytes()}}
handshake_messages.go#L92: keyShares []keyShare
handshake_messages.go#L228: if len(m.keyShares) > 0 {
handshake_messages.go#L233: for _, ks := range m.keyShares {
handshake_messages.go#L570: m.keyShares = append(m.keyShares, ks)
handshake_server_tls13.go#L186: for _, ks := range hs.clientHello.keyShares {
handshake_server_tls13.go#L211: clientKeyShare = &hs.clientHello.keyShares[0]
handshake_server_tls13.go#L513: if len(clientHello.keyShares) != 1 || clientHello.keyShares[0].group != selectedGroup {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |